package com.xr.maintain.entity.oracle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.apache.ibatis.type.Alias;


import java.util.Date;

/**
 * Created on 2021/6/7
 * @author qiao
 * @Desc:
 */
@TableName("TB_BASIC_DIC_INFO")
@Getter
@Setter
@EqualsAndHashCode
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Alias("basicDicInfo")
public class BasicDicInfoOracle {

    @TableId("id")
    private Long id;
    @TableField("PARENT_ID")
    private Long parentId;
    @TableField("DIC_DEMO")
    private String dicDemo;
    @TableField("DIC_KEY")
    private String dicKey;
    @TableField("DIC_VALUE")
    private String dicValue;
    @TableField("DIC_DESC")
    private String dicDesc;
    @TableField("INDEX_NO")
    private int indexNo;
    @TableField("CREATETIME")
    private Date createTime;
    @TableField("STATUS")
    private int status;

    @Override
    public String toString() {
        return "BasicDicInfoOracle{" +
                "id=" + id +
                '}';
    }
}
